package com.zzj.hotel.core.entity;


import java.sql.Blob;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;



@Entity(name="article")
public class Article {
	@Id
	@Column(name="article_id")
	private String article_id;
	
	@Column(name="article_title")
	private String article_title;
	
	@Column(name="article_content")
	private Blob article_content;
	
	@Column(name="article_authorId")
	private String article_authorId;
	
	@Column(name="article_author")
	private String article_author;
	
	@Column(name="article_createTime")
	private String article_createTime;
	
	@Column(name="article_classifyId")
	private String article_classifyId;
	
	@Column(name="article_picture")
	private String article_picture;
	
	public Article(String article_id, String article_title,
			Blob article_content, String article_authorId,
			String article_author, String article_createTime,
			String article_classifyId, String article_picture) {
		super();
		this.article_id = article_id;
		this.article_title = article_title;
		this.article_content = article_content;
		this.article_authorId = article_authorId;
		this.article_author = article_author;
		this.article_createTime = article_createTime;
		this.article_classifyId = article_classifyId;
		this.article_picture = article_picture;
	}



	public String getArticle_picture() {
		return article_picture;
	}



	public void setArticle_picture(String article_picture) {
		this.article_picture = article_picture;
	}



	public String getArticle_id() {
		return article_id;
	}



	public void setArticle_id(String article_id) {
		this.article_id = article_id;
	}



	public String getArticle_title() {
		return article_title;
	}



	public void setArticle_title(String article_title) {
		this.article_title = article_title;
	}



	public Blob getArticle_content() {
		return article_content;
	}



	public void setArticle_content(Blob article_content) {
		this.article_content = article_content;
	}



	public String getArticle_authorId() {
		return article_authorId;
	}



	public void setArticle_authorId(String article_authorId) {
		this.article_authorId = article_authorId;
	}



	public String getArticle_author() {
		return article_author;
	}



	public void setArticle_author(String article_author) {
		this.article_author = article_author;
	}



	public String getArticle_createTime() {
		return article_createTime;
	}



	public void setArticle_createTime(String article_createTime) {
		this.article_createTime = article_createTime;
	}



	public String getArticle_classifyId() {
		return article_classifyId;
	}



	public void setArticle_classifyId(String article_classifyId) {
		this.article_classifyId = article_classifyId;
	}



	public Article() {
	}
	public static final String  ARTICLE_ID = "article_id";
	public static final String ARTICLE_CLASSIFYID = "article_classifyId";
	public static final String ARTICLE_CREATETIME = "article_createTime";
}
